//
//  PassAuditURL.swift
//  ParkManage
//
//  Created by Jalon on 9/28/20.
//  Copyright © 2020 diligrp. All rights reserved.
//

import Foundation

enum PassAuditURL {
    /// 通行证详情
    case passAuditDetail
}

extension PassAuditURL {
    
    var path: String {
        switch self {
        case .passAuditDetail:
            return "navigator://PassAuditURL/passAuditDetail"
        }
    }
    
    static func initRouter() {
        navigator.register(PassAuditURL.passAuditDetail.path) { _, _, _ in
            let vc = PassAuditDetailViewController()
            return vc
        }
    }
}
